package com.woniu.p2p.serviceImpl;

import com.woniu.p2p.entity.Invest;
import com.woniu.p2p.mapper.InvestMapper;
import com.woniu.p2p.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestServiceImpl implements TestService {

    @Autowired
    InvestMapper investMapper;

    @Override
    public List<Invest> selectAll() {
        return investMapper.selectAll();
    }
}
